﻿using MediatR;
using SlaughterItem.Common.Dtos;

namespace SlaughterItem.API.Application.Commands.Week02.Killplan
{
    /// <summary>
    /// 批宰计划添加字段
    /// </summary>
    public class SlaughterCreateCommand:IRequest<Result>
    {
        /// <summary>
        /// 计划屠宰日期 
        /// </summary>
        public DateTime? SlaughterDate { get; set; }

        /// <summary>
        /// 单据号
        /// </summary>
        public string SlaughterDocument { get; set; }
        /// <summary>
        /// 进场登记Id
        /// </summary>
        public int CheckInId { get; set; }
        /// <summary>
        /// 送宰类型
        /// </summary>
        public int SlaughterType { get; set; }
        /// <summary>
        /// 屠宰类型
        /// </summary>
        public int SlaughterMaxType { get; set; }
        /// <summary>
        /// 屠宰编号
        /// </summary>
        public string SlaughterNo { get; set; }
        /// <summary>
        /// 仓库Id
        /// </summary>
        public int DepotId { get; set; }
        /// <summary>
        /// 生产日期
        /// </summary>
        public DateTime? SlaughterSDate { get; set; }
        /// <summary>
        /// 计划屠宰头数
        /// </summary>
        public int SlaughterNum { get; set; }
        /// <summary>
        /// 计划时间 大概需要多长时间
        /// </summary>
        public string ProjectDateTime { get; set; }
        /// <summary>
        /// 待宰圈管理Id
        /// </summary>
        public int SlaughteredId { get; set; }
        /// <summary>
        /// 静养时间
        /// </summary>
        public string Resttime { get; set; }
        /// <summary>
        /// 备注
        /// </summary>
        public string SlaughterRemark { get; set; }
        /// <summary>
        /// 活畜称重单Id
        /// </summary>
        public int LiveAnimalsId { get; set; }
        /// <summary>
        /// 是否删除
        /// </summary>
        public bool IsDelete { get; set; }
    }
}
